<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
  <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>

	<script type="text/javascript">
	 var contextRoot="<c:url value="/"></c:url>";
	if ("${message=='LOGIN_SUCCESS'}"=="true") {
			document.location.href=contextRoot+"Customer/List?menuCode=0400";	 	
	}else if("${message=='LOGIN_FAIL'}"=="true"){
			alert("登陆失败 \n 请确认 账号密码");
			history.go(-1);
	}else if ("${message=='REDIRECT'}"=="true") {
		document.location.href=contextRoot+"${path}";
	}
	
	
	
	
	
	
	</script>
</body>
</html>